﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Second.Master" Inherits="System.Web.Mvc.ViewPage<Rose.Models.ArticleModel>" %>



<asp:Content ID="Content2" ContentPlaceHolderID="MiddleContent" runat="server">

   

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
     <div>

     <div class="box">
     <a> 标题:</a> 
      <%: Html.TextBoxFor(model => model.Title) %>
     </div>


     </div>
    
     

           
           <div class="editor-field">
                <%: Html.TextAreaFor(model => model.Content, new { @id = "editor", @cols = "70",  @rows = "50" })%>
                
               <script type="text/javascript" language="javascript">
		//<![CDATA[

                   // Replace the <textarea id="editor"> with an CKEditor
                   // instance, using default configurations.
                   CKEDITOR.replace('editor',
				{
				    language: 'zh-cn',
				    extraPlugins: 'uicolor',
				    uiColor: '#cfeec7',
				    filebrowserBrowseUrl: '/../../Content/ckeditor/ckfinder/ckfinder.html',
				    filebrowserImageBrowseUrl: '/../../Content/ckeditor/ckfinder/ckfinder.html?type=Images',
				    filebrowserFlashBrowseUrl: '/../../Content/ckeditor/ckfinder/ckfinder.html?type=Flash',
				    filebrowserUploadUrl: '/../../Content/ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
				    filebrowserImageUploadUrl: '/../../Content/ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
				    filebrowserFlashUploadUrl: '/../../Content/ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash',
				    htmlEncodeOutput: true
				});
		//]]>
            </script>
            </div>
            

     <div class="nobox"><a class="laber">权限:</a>
     <a class="info">
      		<input type="radio" name="IsOnlyForFriend" value="0"/>隐私
            <input type="radio" name="IsOnlyForFriend" value="1"/>仅朋友可见
           <input type="radio" name="IsOnlyForFriend" value="2" checked="checked"/>公开
           </a> 
     
      <p><input class="save" type="submit" value="" /></p>
       <p><button class="back"></button></p>
     </div>
       

    <% } %>



</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<link href="../../Content/Css/article.css" rel="Stylesheet" />
<script src="../../Content/ckeditor/ckeditor.js" language="javascript" type="text/javascript"></script>
  <script src="../../Content/ckeditor/ckfinder/ckfinder.js" language="javascript" type="text/javascript"></script>
</asp:Content>

